<!DOCTYPE html>
<html lang="en">
{% load static %}
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>追风自动化测试平台</title>

    <!-- Styles -->
    <link rel="stylesheet" href="{% static 'css/lib/font-awesome.min.css' %}">
    <link rel="stylesheet" href="{% static 'css/lib/themify-icons.css' %}">
    <link rel="stylesheet" href="{% static 'css/lib/bootstrap.min.css' %}">
    <link rel="stylesheet" href="{% static 'css/lib/helper.css' %}">
    <link rel="stylesheet" href="{% static 'css/style.css' %}">

</head>

<body class="bg-primary">

    <div class="unix-login">
        <div class="container-fluid">
            <div class="row justify-content-center">
                <div class="col-lg-6">
                    <div class="login-content">
                        <div class="login-form">
                            <h4>用户登录</h4>
                            <form action="{% url 'users:login' %}" method="post">
                                {% csrf_token %}
                                <div class="form-group">
                                    <label>邮箱/手机号/昵称</label>
                                    {{ login_form.username }}
                                </div>
                                <div class="form-group">
                                    <label>密码</label>
                                    {{ login_form.password }}
                                </div>
                                <div class="checkbox">
                                    <label>
										<input type="checkbox"> Remember Me
									</label>
                                    <label class="pull-right">
										<a href="#">Forgotten Password?</a>
									</label>

                                </div>
                                <h6 style="color:#ff0000;" class="text-center">{{ error_msg }}</h6>
                                <button type="submit" class="btn btn-primary btn-flat m-b-30 m-t-30">Sign in</button>
                                <div class="register-link m-t-15 text-center">
                                    <p>Don't have account ? <a href="#"> Sign Up Here</a></p>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

</body>

</html>